package o;

public class fyg {
    public final fzp ˋ = new fzp();
    public final fzp ॱ = new fzp();

    public final boolean ˏ() {
        if (this.ॱ.ˊ - this.ˋ.ˊ >= 0.0f && this.ॱ.ॱ - this.ˋ.ॱ >= 0.0f && this.ˋ.ʻ() && this.ॱ.ʻ()) {
            return true;
        }
        return false;
    }

    public final void ˏ(fyg o_fyg, fyg o_fyg2) {
        this.ˋ.ˊ = o_fyg.ˋ.ˊ < o_fyg2.ˋ.ˊ ? o_fyg.ˋ.ˊ : o_fyg2.ˋ.ˊ;
        this.ˋ.ॱ = o_fyg.ˋ.ॱ < o_fyg2.ˋ.ॱ ? o_fyg.ˋ.ॱ : o_fyg2.ˋ.ॱ;
        this.ॱ.ˊ = o_fyg.ॱ.ˊ > o_fyg2.ॱ.ˊ ? o_fyg.ॱ.ˊ : o_fyg2.ॱ.ˊ;
        this.ॱ.ॱ = o_fyg.ॱ.ॱ > o_fyg2.ॱ.ॱ ? o_fyg.ॱ.ॱ : o_fyg2.ॱ.ॱ;
    }

    public final float ˊ() {
        return 2.0f * (((this.ॱ.ˊ - this.ˋ.ˊ) + this.ॱ.ॱ) - this.ˋ.ॱ);
    }

    public static final boolean ˎ(fyg o_fyg, fyg o_fyg2) {
        if (o_fyg2.ˋ.ˊ - o_fyg.ॱ.ˊ > 0.0f || o_fyg2.ˋ.ॱ - o_fyg.ॱ.ॱ > 0.0f || o_fyg.ˋ.ˊ - o_fyg2.ॱ.ˊ > 0.0f || o_fyg.ˋ.ॱ - o_fyg2.ॱ.ॱ > 0.0f) {
            return false;
        }
        return true;
    }

    public final String toString() {
        return "AABB[" + this.ˋ + " . " + this.ॱ + "]";
    }
}
